
package model;

public interface IModel {
    
    public static final int SQL_PRIMEIRO = 100;
    public static final int SQL_ANTERIOR = 101;
    public static final int SQL_PROXIMO = 102;
    public static final int SQL_ULTIMO = 103;
    public static final int SQL_CODIGO = 104;
    public static final int SQL_DESCRICAO = 105;
    public static final int SQL_NOME = 105;
    public static final int SQL_GETALL = 106;        
    public static final int SQL_CPF = 107;
    public static final int SQL_CIDADE = 108;
    public static final int SQL_CNPJ = 109;
    public static final int SQL_DATA_CADASTRO = 110;   
    public static final int SQL_CATEGORIA = 111;
    public static final int SQL_FORNECEDOR = 112;
    
    void setCodigo(int codigo);
    int getCodigo();  
    
    void registrarObserver(Observer o);
    void removerObserver(Observer o);
    void notificarObservers();
    
}
